<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: ntsend.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00359_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ntsend.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="a00359.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * The BEGINCALLCONNECT macro ensures that the thread is set up correctly.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="a00359.html#a6c04537cb53d1ecc2c695f9f9406d848">   14</a></span>&#160;<span class="preprocessor">#define BEGINCALLCONNECT()                              \</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">    {                                                   \</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">    DWORD retval;                                       \</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">    {                                                   \</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">        if (NtCurrentTeb()-&gt;Win32ThreadInfo == NULL) {  \</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">            if (NtUserGetThreadState(-1) ==             \</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">                    STATUS_INVALID_SYSTEM_SERVICE)      \</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">                MSGERROR();                             \</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">        }</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * Use this macro if you don&#39;t need to access shared memory.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="a00359.html#a615554c92a9a54fcb3550fa2714dbe82">   27</a></span>&#160;<span class="preprocessor">#define BEGINCALL()       \</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">    {                     \</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">    DWORD retval;         \</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">    {</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00359.html#a3b555ab2c16c987de03b726500cf9837">   32</a></span>&#160;<span class="preprocessor">#define BEGINCALLVOID()   \</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">    {</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="a00359.html#a1f726cdbff32c73345a4fbbd675366e0">   35</a></span>&#160;<span class="preprocessor">#define ERRORTRAP(error) \</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">       goto cleanup;        \</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">    }                       \</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">    goto errorexit;         \</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">errorexit:                  \</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">    retval = (DWORD)error;  \</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">cleanup:</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="a00359.html#ae175169af7e6efb21e95fd0e6df32c19">   43</a></span>&#160;<span class="preprocessor">#define ERRORTRAPVOID()     \</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">    goto errorexit;         \</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">errorexit:</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="a00359.html#ac0504301390b9da9ffa31837c7e98215">   47</a></span>&#160;<span class="preprocessor">#define ENDCALL(type)     \</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">    return (type)retval;  \</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="a00359.html#a0d2b16abea030d2332a65bff0e78fa4d">   51</a></span>&#160;<span class="preprocessor">#define ENDCALLVOID() \</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">    return;           \</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="a00359.html#a425e5d40f330cc882cc1c61a46f7fde9">   55</a></span>&#160;<span class="preprocessor">#define MSGERROR() goto errorexit</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00359.html#aeee0871f514f08f450cad7efbcd9f387">   56</a></span>&#160;<span class="preprocessor">#define MSGERRORCODE(code) { \</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">    RIPERR0(code, RIP_WARNING, &quot;Unspecified error&quot;); \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">    goto errorexit; }</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="a00359.html#a2782e3781f60fd5774b2a2f9ca830aef">   60</a></span>&#160;<span class="preprocessor">#define MSGNTERRORCODE(code) { \</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">    RIPNTERR0(code, RIP_WARNING, &quot;Unspecified error&quot;); \</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">    goto errorexit; }</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="a00359.html#a681a982f883c6befd39d2d20ff6563da">   64</a></span>&#160;<span class="preprocessor">#define MESSAGECALL(api) \</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">LONG api(                \</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">    HWND hwnd,           \</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">    UINT msg,            \</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">    DWORD wParam,        \</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">    LONG lParam,         \</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">    DWORD xParam,        \</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">    DWORD xpfnProc,      \</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">    BOOL bAnsi)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment"> * Copy optional string/Ordinal where if hiword is FF/FFFF then new WORD is a</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment"> * resource oridinal ID</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment"> * Sources is Unicode</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="a00359.html#a3ce834b12bbf30c3355a67519d6c030e">   79</a></span>&#160;<span class="preprocessor">#define OrdinalLPSTR(src)   (MAKELONG(0xFFFF,((*(DWORD UNALIGNED *)src) &gt;&gt; 8)))</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="a00359.html#a5af109a5c0b902ae9eb664af389ff99d">   80</a></span>&#160;<span class="preprocessor">#define OrdinalLPSTRW(src)  (MAKELONG(0xFFFF,((*(DWORD UNALIGNED *)src) &gt;&gt; 8)))</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="a00359.html#ad6d8e5ffb4bd85adab1995cb378692ea">   81</a></span>&#160;<span class="preprocessor">#define OrdinalLPWSTR(src)  (*(DWORD UNALIGNED *)src)</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="a00359.html#adf984021048c0414fc59dfc865fa70b9">   82</a></span>&#160;<span class="preprocessor">#define OrdinalLPWSTRA(src) (*(DWORD UNALIGNED *)((PBYTE)src + 1))</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment"> * Ansi-&gt;Unicode macros</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="a00359.html#a563cec8f61495299062226c4c67dd870">   87</a></span>&#160;<span class="preprocessor">#define COPYLPSTRW(pinstr, psz) \</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">    if (!RtlCaptureAnsiString((pinstr), (LPCSTR)(psz), TRUE))     \</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">        MSGERROR();</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="a00359.html#a97580e2e850a6e8f8f4a72575be9a7b5">   91</a></span>&#160;<span class="preprocessor">#define COPYLPSTRIDW(pinstr, psz) \</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">    if (HIWORD(psz)) {                                      \</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">        if (!RtlCaptureAnsiString((pinstr), (LPCSTR)(psz), TRUE))   \</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">            MSGERROR();                                     \</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">    }                                                       \</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">    else {                                                  \</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">        (pinstr)-&gt;fAllocated = FALSE;                       \</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">        (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;             \</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Length =                       \</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">                (pinstr)-&gt;strCapture.MaximumLength = 0;     \</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Buffer = (LPWSTR)(psz);        \</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="a00359.html#a49fa195005de284da339c772acc900c8">  104</a></span>&#160;<span class="preprocessor">#define COPYLPSTRIDOPTW     COPYLPSTRIDW</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="a00359.html#a09dcc56c95999f42873a15a2c33dd08d">  105</a></span>&#160;<span class="preprocessor">#define COPYLPSTROPTW       COPYLPSTRW</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="a00359.html#a3336f96beaf76ac305e926fba863af43">  107</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPSTRW(pinstr, psz) \</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">    if(!RtlCaptureLargeAnsiString((pinstr), (LPCSTR)(psz), (UINT)-1, TRUE)) \</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">        MSGERROR();</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="a00359.html#a8b7be0a4df336ac62d0b30f7e9974911">  111</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPSTROPTW  LARGECOPYLPSTRW</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="a00359.html#a38c1ef8344a447ee0664c749cf0c3ec0">  113</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPSTRLIMITW(pinstr, psz, cchLimit) \</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">    if (!RtlCaptureLargeAnsiString((pinstr), (LPCSTR)(psz), cchLimit, TRUE))  \</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">        MSGERROR();</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="a00359.html#a65ffd89fed8cad2406f6eebbd19d67a5">  117</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPSTRORDINALOPTW(pinstr, psz) \</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                                         \</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                                                   \</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">    if (psz) {                                                                      \</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">        if (*(LPBYTE)(psz) != 0xff) {                                               \</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">            if (!RtlCaptureLargeAnsiString((pinstr), (LPCSTR)(psz), (UINT)-1, TRUE))\</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">                MSGERROR();                                                         \</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">        } else {                                                                    \</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">            (pinstr)-&gt;strCapture.Length =                                           \</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">                    (pinstr)-&gt;strCapture.MaximumLength = sizeof(DWORD);             \</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">            dwOrdinal = OrdinalLPSTRW(psz);                                         \</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="preprocessor">            (pinstr)-&gt;strCapture.Buffer = (LPWSTR)&amp;dwOrdinal;                       \</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">        }                                                                           \</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">    } else {                                                                        \</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Length =                                               \</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">                (pinstr)-&gt;strCapture.MaximumLength = 0;                             \</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Buffer = NULL;                                         \</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="a00359.html#a790070c3881a7af9750daf773de8c6dd">  136</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPSTRW(pinstr, psz) \</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">    if (!RtlCaptureAnsiString((pinstr), (LPCSTR)(psz), FALSE))    \</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">        MSGERROR();</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="a00359.html#abc1277300436d393845d41a073719da7">  140</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPSTRIDW(pinstr, psz) \</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">    if (HIWORD(psz)) {                                      \</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">        if (!RtlCaptureAnsiString((pinstr), (LPCSTR)(psz), FALSE))  \</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">            MSGERROR();                                     \</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">    } else {                                                \</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">        (pinstr)-&gt;fAllocated = FALSE;                       \</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">        (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;             \</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Length =                       \</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">                (pinstr)-&gt;strCapture.MaximumLength = 0;     \</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Buffer = (LPWSTR)(psz);        \</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="a00359.html#a3431cd5eaf862a002c848fde14535434">  152</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPSTRIDOPTW     FIRSTCOPYLPSTRIDW</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="a00359.html#a9e4402bad5d48ea5725b8748a3be3350">  153</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPSTROPTW       FIRSTCOPYLPSTRW</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="a00359.html#a84e341d05c6248f67771c087b3a617ee">  155</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPSTRW(pinstr, psz) \</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">    if (!RtlCaptureLargeAnsiString((pinstr), (LPCSTR)(psz), (UINT)-1, FALSE))   \</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">        MSGERROR();</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="a00359.html#a070de3b9e898b623545fe86566841845">  159</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPSTROPTW  FIRSTLARGECOPYLPSTRW</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="a00359.html#a17dbbaf1718be22f7a7a3a9865b2e950">  161</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPSTRLIMITW(pinstr, psz, cchLimit) \</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">    if (!RtlCaptureLargeAnsiString((pinstr), (LPCSTR)(psz), cchLimit, FALSE)) \</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">        MSGERROR();</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="a00359.html#a03f51ab7d29afa2e722b48f545e45a93">  165</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPSTRORDINALOPTW(pinstr, psz) \</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                                             \</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                                                       \</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">    if (psz) {                                                                          \</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">        if (*(LPBYTE)(psz) != 0xff) {                                                   \</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">            if (!RtlCaptureLargeAnsiString((pinstr), (LPCSTR)(psz), (UINT)-1, FALSE))   \</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">                MSGERROR();                                                             \</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">        } else {                                                                        \</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">            (pinstr)-&gt;strCapture.Length =                                               \</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">                    (pinstr)-&gt;strCapture.MaximumLength = sizeof(DWORD);                 \</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">            dwOrdinal = OrdinalLPSTRW(psz);                                             \</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">            (pinstr)-&gt;strCapture.Buffer = (LPWSTR)&amp;dwOrdinal;                           \</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">        }                                                                               \</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">    } else {                                                                            \</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Length =                                                   \</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">                (pinstr)-&gt;strCapture.MaximumLength = 0;                                 \</span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Buffer = NULL;                                             \</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="a00359.html#ae80cae7750cd1854ec0f9cfa717e7cd6">  184</a></span>&#160;<span class="preprocessor">#define CLEANUPLPSTRW(instr) \</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">    if (instr.fAllocated)                     \</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">        RtlFreeHeap(RtlProcessHeap(), 0, instr.strCapture.Buffer);</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment"> * Unicode-&gt;Unicode macros</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="a00359.html#acd4d06b14220f8bc76a7e28664d7f237">  191</a></span>&#160;<span class="preprocessor">#define COPYLPWSTR(pinstr, psz) \</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                           \</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                 \</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">    RtlInitUnicodeString(&amp;(pinstr)-&gt;strCapture, (psz));</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="a00359.html#a7a523494593d00654f7130108ba58753">  196</a></span>&#160;<span class="preprocessor">#define COPYLPWSTRID(pinstr, psz) \</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                           \</span></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                 \</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">    if (HIWORD(psz))                                        \</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor">        RtlInitUnicodeString(&amp;(pinstr)-&gt;strCapture, (psz)); \</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">    else {                                                  \</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Length =                       \</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">                (pinstr)-&gt;strCapture.MaximumLength = 0;     \</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Buffer = (LPWSTR)(psz);        \</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="a00359.html#afe4016d36bf9a453d4268e73608814b2">  207</a></span>&#160;<span class="preprocessor">#define COPYLPWSTRIDOPT     COPYLPWSTRID</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="a00359.html#abac5d7aa2e60b2f7c6ebe22f1f07728c">  208</a></span>&#160;<span class="preprocessor">#define COPYLPWSTROPT       COPYLPWSTR</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="a00359.html#af327ff34fdc069c4f065b93467861ef3">  210</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPWSTR(pinstr, psz) \</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                           \</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                         \</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">    RtlInitLargeUnicodeString(&amp;(pinstr)-&gt;strCapture, (psz), (UINT)-1);</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="a00359.html#ae5b90f9b28f2f847559b37f1b83c3474">  215</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPWSTRLIMIT(pinstr, psz, cchLimit) \</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                           \</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                             \</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">    RtlInitLargeUnicodeString(&amp;(pinstr)-&gt;strCapture, (psz), cchLimit);</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="a00359.html#a8daf2e25ba43d93a51bf6ad6925610cf">  220</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPWSTROPT  LARGECOPYLPWSTR</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="a00359.html#a218f4b7c2138252789eb8df9bc469295">  222</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPWSTRORDINALOPT(pinstr, psz) \</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">    (pinstr)-&gt;fAllocated = FALSE;                           \</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">    (pinstr)-&gt;pstr = &amp;(pinstr)-&gt;strCapture;                                     \</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">    if (psz) {                                                                  \</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">        if (*(LPWORD)(psz) != 0xffff)                                           \</span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="preprocessor">            RtlInitLargeUnicodeString(&amp;(pinstr)-&gt;strCapture, (psz), (UINT)-1);  \</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">        else {                                                                  \</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor">            (pinstr)-&gt;strCapture.Length =                                       \</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor">                    (pinstr)-&gt;strCapture.MaximumLength = sizeof(DWORD);         \</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="preprocessor">            dwOrdinal = OrdinalLPWSTR(psz);                                     \</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="preprocessor">            (pinstr)-&gt;strCapture.Buffer = (LPWSTR)&amp;dwOrdinal;                   \</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor">        }                                                                       \</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">    } else {                                                                    \</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Length =                                           \</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="preprocessor">                (pinstr)-&gt;strCapture.MaximumLength = 0;                         \</span></div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor">        (pinstr)-&gt;strCapture.Buffer = NULL;                                     \</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="preprocessor">    }</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="a00359.html#a62e2c66095c7405ba82d1c9aa13b74c5">  240</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPWSTR                 COPYLPWSTR</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="a00359.html#a87d051a4aa34c1b8073d7fadd0b08dfd">  241</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPWSTRID               COPYLPWSTRID</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="a00359.html#aac1cb07aa1d32666754ca52d6927e9ba">  242</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPWSTRIDOPT            COPYLPWSTRIDOPT</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="a00359.html#a3831a9eac5010f7a6a5465223f08b6f8">  243</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPWSTROPT              COPYLPWSTROPT</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="a00359.html#a86e0dce90618b4e17075214709ef5057">  244</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPWSTR            LARGECOPYLPWSTR</span></div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="a00359.html#a7369eb31ac4e4311173e22140c556ac8">  245</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPWSTRLIMIT       LARGECOPYLPWSTRLIMIT</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="a00359.html#ab33cfda3259b4d21390d77ee9968babc">  246</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPWSTROPT         LARGECOPYLPWSTROPT</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="a00359.html#a4ea4b87463fbbb442c4ab1aa78186617">  247</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPWSTRORDINALOPT  LARGECOPYLPWSTRORDINALOPT</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="a00359.html#a1cd8eaaec48c11cb1d5a0f629c9621bf">  249</a></span>&#160;<span class="preprocessor">#define CLEANUPLPWSTR(instr)</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment"> * Type-neutral macros</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor">#ifdef UNICODE</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="preprocessor">#define COPYLPTSTR                  COPYLPWSTR</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="preprocessor">#define COPYLPTSTRID                COPYLPWSTRID</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="preprocessor">#define COPYLPTSTRIDOPT             COPYLPWSTRIDOPT</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="preprocessor">#define COPYLPTSTROPT               COPYLPWSTROPT</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="preprocessor">#define FIRSTCOPYLPTSTR             COPYLPWSTR</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor">#define FIRSTCOPYLPTSTRID           COPYLPWSTRID</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="preprocessor">#define FIRSTCOPYLPTSTRIDOPT        COPYLPWSTRIDOPT</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">#define LARGECOPYLPTSTR             LARGECOPYLPWSTR</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#define LARGECOPYLPTSTRLIMIT        LARGECOPYLPWSTRLIMIT</span></div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">#define LARGECOPYLPTSTROPT          LARGECOPYLPWSTROPT</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPTSTRLIMIT   LARGECOPYLPWSTRLIMIT</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPTSTROPT     LARGECOPYLPWSTROPT</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="preprocessor">#define CLEANUPLPTSTR               CLEANUPLPWSTR</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="a00359.html#ac86f5deb28b5f7ec2d66da36987f3164">  272</a></span>&#160;<span class="preprocessor">#define COPYLPTSTR                  COPYLPSTRW</span></div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="a00359.html#aabcc400df1dbce7185eb6f72b7f58964">  273</a></span>&#160;<span class="preprocessor">#define COPYLPTSTRID                COPYLPSTRIDW</span></div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="a00359.html#a29478c936a7ef097f9f26d9028c2aeec">  274</a></span>&#160;<span class="preprocessor">#define COPYLPTSTRIDOPT             COPYLPSTRIDOPTW</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="a00359.html#a53fe241e47fce7b50a5f94b0345e3706">  275</a></span>&#160;<span class="preprocessor">#define COPYLPTSTROPT               COPYLPSTROPTW</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="a00359.html#a99c3af50143b18cb9cb6b71bdc907c67">  276</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPTSTR             COPYLPSTRW</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="a00359.html#ac368c76c5f5dd5d67735857051893b49">  277</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPTSTRID           COPYLPSTRIDW</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="a00359.html#ad4dac837b770aba791d8ad7499357c12">  278</a></span>&#160;<span class="preprocessor">#define FIRSTCOPYLPTSTRIDOPT        COPYLPSTRIDOPTW</span></div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="a00359.html#a1e7f60020e6985d7340d535db2f9bfc5">  279</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPTSTR             LARGECOPYLPSTRW</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="a00359.html#ad43aaa94453f91bf6f5f3ee69687a845">  280</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPTSTRLIMIT        LARGECOPYLPSTRLIMITW</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="a00359.html#ac110dc81dd845b7aa70506babc0890fb">  281</a></span>&#160;<span class="preprocessor">#define LARGECOPYLPTSTROPT          LARGECOPYLPSTROPTW</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="a00359.html#ac2f24b83d0c7ec060e363289dec902e3">  282</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPTSTRLIMIT   LARGECOPYLPSTRLIMITW</span></div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="a00359.html#a4e1ebc0ea4094e48820ee1c4696b9f2e">  283</a></span>&#160;<span class="preprocessor">#define FIRSTLARGECOPYLPTSTROPT     LARGECOPYLPSTROPTW</span></div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="a00359.html#a6fb17e8eea0780a6c8f89761e12e3b11">  284</a></span>&#160;<span class="preprocessor">#define CLEANUPLPTSTR               CLEANUPLPSTRW</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02641_html"><div class="ttname"><a href="a02641.html">_DLG</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02146">user.h:2146</a></div></div>
<div class="ttc" id="aa02573_html"><div class="ttname"><a href="a02573.html">tagSBDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01371">user.h:1371</a></div></div>
<div class="ttc" id="aa01865_html"><div class="ttname"><a href="a01865.html">tagDDEMLDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00247">ddemlcli.h:247</a></div></div>
<div class="ttc" id="aa01965_html"><div class="ttname"><a href="a01965.html">tagMDIWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l02244">usercli.h:2244</a></div></div>
<div class="ttc" id="aa01921_html"><div class="ttname"><a href="a01921.html">tagLBIV</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00866">usercli.h:866</a></div></div>
<div class="ttc" id="aa02565_html"><div class="ttname"><a href="a02565.html">tagCLSMENUNAME</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01308">user.h:1308</a></div></div>
<div class="ttc" id="aa02453_html"><div class="ttname"><a href="a02453.html">_LARGE_ANSI_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00273">user.h:273</a></div></div>
<div class="ttc" id="aa02621_html"><div class="ttname"><a href="a02621.html">tagITEM</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01958">user.h:1958</a></div></div>
<div class="ttc" id="aa02653_html"><div class="ttname"><a href="a02653.html">tagCARET</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02238">user.h:2238</a></div></div>
<div class="ttc" id="aa02553_html"><div class="ttname"><a href="a02553.html">_HANDLEENTRY</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01165">user.h:1165</a></div></div>
<div class="ttc" id="aa01901_html"><div class="ttname"><a href="a01901.html">tagED</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00641">usercli.h:641</a></div></div>
<div class="ttc" id="aa01949_html"><div class="ttname"><a href="a01949.html">tagCURSORRESOURCE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l01059">usercli.h:1059</a></div></div>
<div class="ttc" id="aa02449_html"><div class="ttname"><a href="a02449.html">_LARGE_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00266">user.h:266</a></div></div>
<div class="ttc" id="aa02649_html"><div class="ttname"><a href="a02649.html">tagCLIENTTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02215">user.h:2215</a></div></div>
<div class="ttc" id="aa02549_html"><div class="ttname"><a href="a02549.html">_PROCOBJHEAD</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01143">user.h:1143</a></div></div>
<div class="ttc" id="aa02037_html"><div class="ttname"><a href="a02037.html">tagDDEPACK</a></div><div class="ttdef"><b>Definition:</b> <a href="a00338_source.html#l00012">ddetrack.h:12</a></div></div>
<div class="ttc" id="aa02637_html"><div class="ttname"><a href="a02637.html">tagSBTRACK</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02064">user.h:2064</a></div></div>
<div class="ttc" id="aa02537_html"><div class="ttname"><a href="a02537.html">_HEAD</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01127">user.h:1127</a></div></div>
<div class="ttc" id="aa01829_html"><div class="ttname"><a href="a01829.html">tagDDE_MESSAGE_QUEUE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00150">ddemlcli.h:150</a></div></div>
<div class="ttc" id="aa01929_html"><div class="ttname"><a href="a01929.html">tagLBODItem</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l01026">usercli.h:1026</a></div></div>
<div class="ttc" id="aa02629_html"><div class="ttname"><a href="a02629.html">tagDLGENUMDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02027">user.h:2027</a></div></div>
<div class="ttc" id="aa01917_html"><div class="ttname"><a href="a01917.html">_SCROLLPOS</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00858">usercli.h:858</a></div></div>
<div class="ttc" id="aa02617_html"><div class="ttname"><a href="a02617.html">tagCURSORFIND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01654">user.h:1654</a></div></div>
<div class="ttc" id="aa02517_html"><div class="ttname"><a href="a02517.html">_WNDMSG</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01053">user.h:1053</a></div></div>
<div class="ttc" id="aa02645_html"><div class="ttname"><a href="a02645.html">_DIALOG</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02160">user.h:2160</a></div></div>
<div class="ttc" id="aa02545_html"><div class="ttname"><a href="a02545.html">_THROBJHEAD</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01138">user.h:1138</a></div></div>
<div class="ttc" id="aa01933_html"><div class="ttname"><a href="a01933.html">tagLBWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l01030">usercli.h:1030</a></div></div>
<div class="ttc" id="aa02633_html"><div class="ttname"><a href="a02633.html">tagSBCALC</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02048">user.h:2048</a></div></div>
<div class="ttc" id="aa02609_html"><div class="ttname"><a href="a02609.html">tagDESKTOPINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01599">user.h:1599</a></div></div>
<div class="ttc" id="aa01925_html"><div class="ttname"><a href="a01925.html">tagLBItem</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l01021">usercli.h:1021</a></div></div>
<div class="ttc" id="aa02625_html"><div class="ttname"><a href="a02625.html">tagMENU</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01992">user.h:1992</a></div></div>
<div class="ttc" id="aa02525_html"><div class="ttname"><a href="a02525.html">_USERCONNECT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01074">user.h:1074</a></div></div>
<div class="ttc" id="aa02113_html"><div class="ttname"><a href="a02113.html">DEADKEY</a></div><div class="ttdef"><b>Definition:</b> <a href="a00347_source.html#l00433">kbd.h:433</a></div></div>
<div class="ttc" id="aa02613_html"><div class="ttname"><a href="a02613.html">tagCURSORDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01630">user.h:1630</a></div></div>
<div class="ttc" id="aa02513_html"><div class="ttname"><a href="a02513.html">tagSERVERINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00944">user.h:944</a></div></div>
<div class="ttc" id="aa02481_html"><div class="ttname"><a href="a02481.html">tagDISPLAYRESOURCE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00451">user.h:451</a></div></div>
<div class="ttc" id="aa02681_html"><div class="ttname"><a href="a02681.html">_MSGBOXDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02452">user.h:2452</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa01905_html"><div class="ttname"><a href="a01905.html">tagEDITWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00797">usercli.h:797</a></div></div>
<div class="ttc" id="aa02605_html"><div class="ttname"><a href="a02605.html">tagDISPLAYINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01564">user.h:1564</a></div></div>
<div class="ttc" id="aa01961_html"><div class="ttname"><a href="a01961.html">tagMDI</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l02233">usercli.h:2233</a></div></div>
<div class="ttc" id="aa02461_html"><div class="ttname"><a href="a02461.html">_CTLCOLOR</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00303">user.h:303</a></div></div>
<div class="ttc" id="aa02561_html"><div class="ttname"><a href="a02561.html">tagCOMMON_WNDCLASS</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01289">user.h:1289</a></div></div>
<div class="ttc" id="aa01889_html"><div class="ttname"><a href="a01889.html">tagCBox</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00449">usercli.h:449</a></div></div>
<div class="ttc" id="aa02477_html"><div class="ttname"><a href="a02477.html">_CLIENTINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00372">user.h:372</a></div></div>
<div class="ttc" id="aa02577_html"><div class="ttname"><a href="a02577.html">tagSBINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01382">user.h:1382</a></div></div>
<div class="ttc" id="aa01893_html"><div class="ttname"><a href="a01893.html">tagCOMBOWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00499">usercli.h:499</a></div></div>
<div class="ttc" id="aa02093_html"><div class="ttname"><a href="a02093.html">tagKE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00347_source.html#l00028">kbd.h:28</a></div></div>
<div class="ttc" id="aa02593_html"><div class="ttname"><a href="a02593.html">tagHOOK</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01471">user.h:1471</a></div></div>
<div class="ttc" id="aa01869_html"><div class="ttname"><a href="a01869.html">_IN_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00289">usercli.h:289</a></div></div>
<div class="ttc" id="aa02469_html"><div class="ttname"><a href="a02469.html">_DRAWICONEXDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00333">user.h:333</a></div></div>
<div class="ttc" id="aa02569_html"><div class="ttname"><a href="a02569.html">tagCLS</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01323">user.h:1323</a></div></div>
<div class="ttc" id="aa01957_html"><div class="ttname"><a href="a01957.html">_FILEINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l01830">usercli.h:1830</a></div></div>
<div class="ttc" id="aa02457_html"><div class="ttname"><a href="a02457.html">_LARGE_UNICODE_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00280">user.h:280</a></div></div>
<div class="ttc" id="aa02657_html"><div class="ttname"><a href="a02657.html">tagSBWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02374">user.h:2374</a></div></div>
<div class="ttc" id="aa02557_html"><div class="ttname"><a href="a02557.html">_CALLPROCDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01247">user.h:1247</a></div></div>
<div class="ttc" id="aa02485_html"><div class="ttname"><a href="a02485.html">_PROPSET</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00472">user.h:472</a></div></div>
<div class="ttc" id="aa01873_html"><div class="ttname"><a href="a01873.html">_LARGE_IN_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00295">usercli.h:295</a></div></div>
<div class="ttc" id="aa02885_html"><div class="ttname"><a href="a02885.html">tagMENUSTATE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02242">userk.h:2242</a></div></div>
<div class="ttc" id="aa02041_html"><div class="ttname"><a href="a02041.html">tagDDE_DATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00338_source.html#l00017">ddetrack.h:17</a></div></div>
<div class="ttc" id="aa02585_html"><div class="ttname"><a href="a02585.html">tagPROP</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01444">user.h:1444</a></div></div>
<div class="ttc" id="aa02441_html"><div class="ttname"><a href="a02441.html">_CAPTUREBUF</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00244">user.h:244</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_b032acb5e9700fea8079ef1e33262e7c.html">inc</a></li><li class="navelem"><a class="el" href="a00359.html">ntsend.h</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
